package com.woniuxy.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="组织模型")
public class Organization {
    @ExcelProperty("id")
    private int id;
    @ExcelProperty("组织编码")
    @ApiModelProperty(value="组织编码")
    private String org_no;
    @ExcelProperty("组织名称")
    @ApiModelProperty(value="组织名称")
    private String org_name;
    @ExcelProperty("组织类型")
    @ApiModelProperty(value="组织类型")
    private String org_type;
    @ExcelProperty("父级组织")
    @ApiModelProperty(value="父级组织")
    private String parent_org;
    @ExcelProperty("组织属性")
    @ApiModelProperty(value="组织属性")
    private String org_attr;
    @ExcelProperty("组织分类")
    @ApiModelProperty(value="组织分类")
    private String org_category;
    @ExcelProperty("负责人")
    @ApiModelProperty(value="负责人")
    private String director;
    @ExcelProperty("备注")
    @ApiModelProperty(value="备注")
    private String org_note;
    @ExcelProperty("启用状态")
    @ApiModelProperty(value="启用状态")
    private String org_status;
    @ExcelProperty("组织")
    @ApiModelProperty(value = "组织")
    private List<Organization> organizations;
}
